//
//  RyueDiscoverTableViewController.swift
//  RyueWeibo
//
//  Created by jugg on 2016/11/30.
//  Copyright © 2016年 Renyue'husband. All rights reserved.
//

import UIKit

class RyueDiscoverTableViewController: UITableViewController {

    override func viewDidLoad() {
        setupUI()
        
    }
    
    private func setupUI(){
        navigationItem.leftBarButtonItem=UIBarButtonItem(title: "注册", target: self, action: #selector(registClick))
        navigationItem.rightBarButtonItem=UIBarButtonItem(title: "登录", target: self, action: #selector(loginClick))
    }
    
    
    @objc private func registClick(){
        print("注册")
    }
    @objc private func loginClick(){
        print("登录")
    }


}
